<%--
  Created by IntelliJ IDEA.
  User: Marshall
  Date: 2018/9/5
  Time: 下午3:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>${title}</title>
    <link rel="stylesheet" href="${ctx}/static/css/style.default.css" type="text/css" />
    <link rel="stylesheet" href="${ctx}/static/css/style.blueline.css" type="text/css" />
    <script type="text/javascript" src="${ctx}/static/js/plugins/jquery-1.7.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/plugins/jquery.cookie.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/plugins/jquery.uniform.min.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/custom/general.js"></script>
    <script type="text/javascript" src="${ctx}/static/js/custom/index.js"></script>
    <!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="${ctx}/static/css/style.ie9.css"/>
    <![endif]-->
    <!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="${ctx}/static/css/style.ie8.css"/>
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="${ctx}/static/js/plugins/css3-mediaqueries.js"></script>
    <![endif]-->
</head>

<body class="loginpage">
<div class="loginbox">
    <div class="loginboxinner">

        <div class="logo">
            <h1 class="logo">${hlogo}</h1>
        </div><!--logo-->

        <br clear="all" /><br />

        <c:if test="${not empty error}">
            <div class="nousername" style="display:block;">
                <div class="loginmsg">${error}</div>
            </div><!--nousername-->
        </c:if>

        <form id="registration" action="" method="post">

            <c:forEach items="${strucs.strucs}" var="item">
            <div class="username">
                <div class="usernameinner">
                    <div>${item.name}</div>
                    <input type="text" name="${item.key}" />
                </div>
            </div>
            </c:forEach>

            <button>SUBMIT</button>

        </form>

    </div><!--loginboxinner-->
</div><!--loginbox-->


</body>
</html>